﻿using Store.Manager.ERP.Application.Dtos;
using Store.Manager.ERP.Common.Models;
using Store.Manager.ERP.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Store.Manager.ERP.Application.Services
{
    public interface IOrganizationService
    {
        Task<CommonResponse<OrganizationDto>> Add(OrganizationDto organization);
        Task Update(OrganizationDto organization);
        Task Delete(string code);
        Task<OrganizationDto> GetById(string code);
        Task<List<OrganizationDto>> GetAll();
        Task<bool> AddOrganizations(List<OrganizationDto> organizationDtos);
    }
}
